package com.home.qh.service;

import java.util.List;

import com.home.qh.model.Itinerary;
import com.home.qh.model.Voyage;

/**
 * Business Service Interface to handle communication between web and
 * persistence layer.
 *
 * @author <a href="mailto:dan@getrolling.com">Dan Kibler </a>
 */
public interface VoyageManager extends GenericManager<Voyage, Long> {
	List<Voyage> getVoyageByCodeAndName(String voyageCode, String voyageName);
    
	List<Voyage> getVoyageByVoyage(Voyage voyage, String sort, boolean desc, int startResult, int maxResults);
	
	List<Itinerary> getItinerariesByVoyage(long voyageId);
    
}
